import request from '@/utils/request'

// 获取精选分类列表
export const getSelectedCategories = () => {
  return request.get({
    url: '/user/category/selected'
  })
}

// 获取分类树
export const getCategoryTree = () => {
  return request.get({
    url: '/user/category/tree'
  })
}

// 获取分类列表
export function getCategoryList(params) {
    return request.get({
        url: '/user/product/pageCategoryQuery',
        data: params
    })
} 